{{ if .TableOfContents }}
<aside class="toc">
  <div class="wrapper">
    <header>
    <h4>What's on this Page</h4>
    </header>
    {{.TableOfContents}}
  </div>
</aside>
{{ end }}